package com.tledu.spring05.service;

import com.tledu.spring05.mapper.UserMapper;
import com.tledu.spring05.model.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author Antg
 * @date 2021/8/916:27
 */
@Service
public class UserServiceImpl implements UserService {
    @Autowired
    private UserMapper userMapper;

    @Override
    public User select(Integer id) {
        return userMapper.select(id);
    }
}
